<?php //$reqtrack->afficheArray($companies);
//print_r($this) ;
?>
<?php	echo $form->create('Project', array('controller'=> 'projects', 'action'=>'choose')); ?>
		<fieldset>
 		<legend><?php __('1. Filtre par entreprise');?></legend> 
<?php 	
		echo "<label for=\"ProjectProjCompany\">Entreprise :</label>" ;
		echo $form->select('proj_company', $companies, null, array('onChange' => 'this.form.submit()'), true);
		echo $form->end('Ok');
?>
		</fieldset>
		
<?php	echo $form->create('Project', array('controller'=> 'projects', 'action'=>'select')); ?>
		<fieldset>
 		<legend><?php __('2. Sélection du projet');?></legend> 
<?php 	
		echo "<label for=\"ProjectProjName\">Nom du projet :</label>" ;
		echo $form->select('proj_name', $projects_name, null, null, false);
		echo $form->end('Choisir');
?>
		</fieldset>
		
		
		
